﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<timetableasy.Models.Campus>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Campus : <%= Html.Encode(Model.CampusName) %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Html.Encode(Model.CampusName) %></h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">CampusId</div>
        <div class="display-field"><%= Html.Encode(Model.CampusId) %></div>
        
        <div class="display-label">City</div>
        <div class="display-field"><%= Html.Encode(Model.City) %></div>
        
        <div class="display-label">Country</div>
        <div class="display-field"><%= Html.Encode(Model.Country) %></div>
        
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit Campus", "Edit", new { id=Model.CampusId }) %> |
        <%= /* Ajouté pour effacer un campus */ Html.ActionLink("Delete Campus", "Delete", new { id=Model.CampusId }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

